package com.novel.mapper;

import com.novel.pojo.novel.NovelRecommend;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;
import java.util.Map;

public interface NovelRecommendMapper extends Mapper<NovelRecommend>, MySqlMapper<NovelRecommend> {

    /**
     * 根据作者id查询作者小说的推荐数量
     */
    List<Map<String, Object>> queryNovelRecommendByAuthorId(String authorId);
}
